﻿using Abp.Domain.Entities.Auditing;
using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Crowd
{
    /// <summary>
    /// 众筹项目评论信息
    /// </summary>
    public class CrowdFundingComments : FullAuditedEntity<long>
    {
        /// <summary>
        /// 评论人信息
        /// </summary>
        public long UserId { get; set; }
        [ForeignKey("UserId")]
        public virtual User User { get; set; }
        /// <summary>
        /// 众筹项目Id
        /// </summary>
        public long CrowdFundingsId { get; set; }
        [ForeignKey("CrowdFundingsId")]
        public virtual CrowdFundings CrowdFundings { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        public string CommentContent { get; set; }
        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime CommentDate { get; set; }
    }
}
